package cn.seifly.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 */
@ComponentScan(basePackages = {"com.ruoyi","cn.seifly.demo"})
@MapperScan(value = { "cn.seifly.demo.biz.*.dao","cn.seifly.demo.service.**.mapper"})
@EnableScheduling
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class DemoServerApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(DemoServerApplication.class, args);
        System.out.println("view-demo-server启动成功");
    }
}
